/* === RealSolar editorial landing: START ===
   CKEditor 4 safe version. Reusable classes are scoped to .rs-article. */
.rs-article {
  --rs-blue: #075aa8;
  --rs-blue-dark: #0b3158;
  --rs-cyan: #22a9d6;
  --rs-green: #16836f;
  --rs-amber: #d68524;
  --rs-ink: #17263a;
  --rs-muted: #5a6a7d;
  --rs-line: #dce7f0;
  --rs-soft: #f3f8fc;
  --rs-soft-blue: #eaf5fb;
  --rs-white: #fff;
  color: var(--rs-ink);
  font-size: 17px;
  line-height: 1.68;
  margin: 0px 0 0px;
}

.rs-article h2,
.rs-article h3,
.rs-article h4,
.rs-article p,
.rs-article ul,
.rs-article ol {
  margin-top: 0;
}

.rs-article h2,
.rs-article h3,
.rs-article h4 {
  color: var(--rs-blue-dark);
  line-height: 1.22;
}

.rs-article h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.rs-article h3 {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.rs-article h4 {
  font-size: clamp(19px, 2vw, 23px);
  margin-bottom: 10px;
}

.rs-article p {
  margin-bottom: 8px;
}

.rs-article a {
  color: var(--rs-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rs-article a:hover,
.rs-article a:focus-visible {
  color: #063f76;
}

.rs-article img {
  display: block;
  height: auto;
  max-width: 100%;
}

.rs-article__eyebrow {
  color: var(--rs-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rs-article__lead {
  color: #20354d;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.55;
}

.rs-article__hero {
  background: radial-gradient(circle at 95% 5%, rgba(34, 169, 214, 0.17), rgba(34, 169, 214, 0) 34%), linear-gradient(135deg, #edf7fc 0%, #f9fbfe 58%, #e8f2fb 100%);
  border: 1px solid #d5e5f0;
  border-radius: 24px;
  display: grid;
  gap: clamp(24px, 4vw, 50px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  overflow: hidden;
  padding: clamp(26px, 4.4vw, 58px);
}

.rs-article__hero-copy,
.rs-article__hero-media {
  min-width: 0;
}

.rs-article__hero-media {
  align-self: stretch;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(11, 49, 88, 0.18);
  margin: 0;
  min-height: 410px;
  overflow: hidden;
  position: relative;
}

.rs-article__hero-image {
  bottom: 0;
  box-sizing: border-box;
  height: 100% !important;
  left: 0;
  max-width: none !important;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
  width: 100% !important;
}

/* Only the winter hero uses a full-width 16:9 composition. */
.rs-article--winter .rs-article__hero {
  grid-template-columns: minmax(0, 1fr);
}

.rs-article--winter .rs-article__hero-media {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.rs-article--winter .rs-article__hero-image {
  background: #e8f2fb;
  object-fit: contain;
}

.rs-article__facts {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  overflow: hidden;
}

.rs-article__fact {
  border-left: 1px solid rgba(7, 90, 168, 0.16);
  padding: 4px 16px;
}

.rs-article__fact--first {
  border-left: 0;
  padding-left: 0;
}

.rs-article__fact-value {
  color: var(--rs-blue-dark);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 6px;
}

.rs-article__fact-label {
  color: var(--rs-muted);
  font-size: 13px;
  line-height: 1.38;
  margin-bottom: 0;
}

/* Winter article: make each production factor a self-contained explanation. */
.rs-article--winter .rs-article__facts-heading {
  color: #0b3158 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.3;
  margin: 24px 0 12px !important;
}

.rs-article--winter .rs-article__facts {
  gap: 12px;
  margin: 0;
  overflow: visible;
}

.rs-article--winter .rs-article__fact {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d5e5f0;
  border-radius: 14px;
  display: block;
  padding: 16px 18px;
}

.rs-article--winter .rs-article__fact-value {
  color: #0b3158 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
}

.rs-article--winter .rs-article__fact-label {
  color: #42566e !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.rs-article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 0;
}

.rs-article__nav a {
  background: var(--rs-white);
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  color: var(--rs-blue-dark);
  font-size: 14px;
  font-weight: 750;
  padding: 8px 14px;
  text-decoration: none;
}

.rs-article__nav a:hover,
.rs-article__nav a:focus-visible {
  background: var(--rs-soft);
  border-color: #aac8df;
}

.rs-article__section {
  border-bottom: 1px solid var(--rs-line);
  padding: clamp(2px, 3vw, 2px) 0;
}

.rs-article__heading {
  max-width: 930px;
}

.rs-article__answer {
  align-items: center;
  background: var(--rs-blue-dark);
  border-radius: 18px;
  color: var(--rs-white) !important;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  margin: 26px 0 30px;
  padding: clamp(22px, 3.5vw, 38px);
}

.rs-article__answer-text {
  color: var(--rs-white) !important;
  margin-bottom: 0;
}

.rs-article__answer-text strong {
  color: var(--rs-white) !important;
}

.rs-article__answer-number {
  align-items: center;
  align-self: stretch;
  background: linear-gradient(135deg, rgba(34, 169, 214, 0.2), rgba(138, 224, 242, 0.08));
  border: 1px solid rgba(138, 224, 242, 0.28);
  border-radius: 16px;
  color: #8ae0f2 !important;
  display: flex;
  font-size: clamp(52px, 4.5vw, 58px) !important;
  font-weight: 900 !important;
  justify-content: center;
  letter-spacing: -0.055em !important;
  line-height: 0.95 !important;
  margin: 0 !important;
  min-height: 118px;
  padding: 18px 8px;
  text-align: center;
  white-space: nowrap;
}

.rs-article__source-ref {
  align-items: center;
  background: var(--rs-soft-blue);
  border-radius: 50%;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  margin-left: 3px;
  position: relative;
  text-decoration: none;
  top: -0.35em;
  width: 18px;
}

.rs-article__note,
.rs-article__warning,
.rs-article__callout {
  border-radius: 16px;
  margin: 28px 0;
  padding: 22px 24px;
}

.rs-article__note {
  background: #eef8f6;
  border: 1px solid #cfe7e1;
  border-left: 5px solid var(--rs-green);
}

.rs-article__warning {
  background: #fff8ed;
  border: 1px solid #f0ddbf;
  border-left: 5px solid var(--rs-amber);
}

.rs-article__callout {
  background: var(--rs-soft-blue);
  border: 1px solid #cee3ef;
}

.rs-article__callout-title {
  color: var(--rs-blue-dark);
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.rs-article__note p,
.rs-article__callout p {
  margin-bottom: 0;
}

.rs-article__formula {
  align-items: baseline;
  background: var(--rs-blue-dark);
  border-radius: 18px;
  color: var(--rs-white) !important;
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 750;
  gap: 16px;
  justify-content: center;
  margin: 24px 0 10px;
  overflow-wrap: anywhere;
  padding: 24px;
}

.rs-article__formula-part {
  color: var(--rs-white) !important;
}

.rs-article__formula-note,
.rs-article__fineprint {
  color: var(--rs-muted);
  font-size: 14px;
  line-height: 1.55;
}

.rs-article__table-wrap {
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  margin-top: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rs-article__table {
  background: var(--rs-white);
  border: 0;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
  min-width: 860px;
  width: 100%;
}

.rs-article__table th,
.rs-article__table td {
  border: 0;
  border-bottom: 1px solid var(--rs-line);
  padding: 15px 14px;
  text-align: left;
  vertical-align: middle;
}

.rs-article__table thead th {
  background: var(--rs-blue-dark);
  color: var(--rs-white) !important;
  font-size: 14px;
  line-height: 1.35;
}

.rs-article__table tbody th {
  color: var(--rs-blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.rs-article__table-accent {
  background: #edf8fc !important;
}

.rs-article__figure,
.rs-article__photo {
  margin: 32px 0;
}

.rs-article__figure-image,
.rs-article__photo-image {
  border: 1px solid var(--rs-line);
  border-radius: 18px;
  box-sizing: border-box;
  width: 100%;
}

.rs-article__figure--plain .rs-article__figure-image {
  background: #f8fbfd;
}

.rs-article__caption {
  color: var(--rs-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 10px 0 0;
}

.rs-article__cards {
  display: grid;
  gap: 16px;
  margin: 28px 0 30px;
}

.rs-article__cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rs-article__card {
  background: var(--rs-white);
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(11, 49, 88, 0.055);
  padding: 22px;
}

.rs-article__card-index {
  color: var(--rs-cyan);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 13px;
}

.rs-article__split,
.rs-article__check-grid,
.rs-article__media-split {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.rs-article__split,
.rs-article__check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs-article__split-item,
.rs-article__check-item {
  background: var(--rs-soft);
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  padding: 22px;
}

.rs-article__split-item p,
.rs-article__check-item p {
  margin-bottom: 0;
}

.rs-article__example {
  background: var(--rs-blue-dark);
  border-radius: 20px;
  color: var(--rs-white) !important;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin: 30px 0;
  padding: clamp(24px, 4vw, 42px);
}

.rs-article__eyebrow--inverse {
  color: #8ae0f2 !important;
}

.rs-article__example-title,
.rs-article__example-text {
  color: var(--rs-white) !important;
}

.rs-article__example-title {
  margin-bottom: 10px;
}

.rs-article__example-data {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.rs-article__example-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 17px;
}

.rs-article__example-label {
  color: #cfe8f6 !important;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.rs-article__example-value {
  color: #8ae0f2 !important;
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: 7px;
}

.rs-article__example-note {
  color: #e2edf5 !important;
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 0;
}

.rs-article__equation {
  align-items: center;
  background: var(--rs-soft-blue);
  border: 1px solid #cee3ef;
  border-radius: 16px;
  display: grid;
  gap: 7px;
  margin: 28px 0 34px;
  padding: 22px 24px;
}

.rs-article__equation strong {
  color: var(--rs-blue-dark);
  font-size: 18px;
}

.rs-article__steps {
  counter-reset: none;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0 30px;
  padding: 0;
}

.rs-article__steps li {
  align-items: start;
  border: 1px solid var(--rs-line);
  border-radius: 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 18px;
}

.rs-article .rs-article__steps .rs-article__step-index {
  align-items: center;
  background: #075aa8 !important;
  border-radius: 12px;
  color: #fff !important;
  display: flex;
  flex-shrink: 0;
  font-size: 18px !important;
  font-variant-numeric: tabular-nums;
  font-weight: 800 !important;
  height: 44px;
  justify-content: center;
  letter-spacing: 0.01em;
  line-height: 1 !important;
  width: 44px;
}

.rs-article__steps strong {
  color: var(--rs-blue-dark);
  display: block;
  margin-bottom: 3px;
}

.rs-article__steps p {
  color: var(--rs-muted);
  font-size: 15px;
  margin-bottom: 0;
}

.rs-article__media-split {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.rs-article__photo {
  margin: 0;
}

.rs-article__checklist {
  list-style: disc;
  margin: 20px 0 0;
  padding-left: 24px;
}

.rs-article__checklist li {
  margin-bottom: 11px;
  padding-left: 4px;
}

.rs-article__faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.rs-article__faq-item {
  background: var(--rs-soft);
  border: 1px solid var(--rs-line);
  border-radius: 14px;
  padding: 20px 22px;
}

.rs-article__faq-question {
  font-size: 18px;
  margin-bottom: 8px;
}

.rs-article__faq-answer {
  max-width: 960px;
}

.rs-article__faq-answer p {
  margin-bottom: 0;
}

.rs-article__cta {
  align-items: center;
  background: linear-gradient(135deg, var(--rs-blue-dark), #075a88);
  border-radius: 22px;
  color: var(--rs-white) !important;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: clamp(46px, 7vw, 82px) 0 30px;
  padding: clamp(26px, 4vw, 46px);
}

.rs-article__cta-title,
.rs-article__cta-text {
  color: var(--rs-white) !important;
}

.rs-article__cta-text {
  margin-bottom: 0;
}

.rs-article__actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.rs-article__button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 12px;
  color: var(--rs-white) !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.25;
  padding: 14px 18px;
  text-align: center;
  text-decoration: none;
}

.rs-article__button:hover,
.rs-article__button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.rs-article__button--primary {
  background: var(--rs-white);
  border-color: var(--rs-white);
  color: var(--rs-blue-dark) !important;
}

.rs-article__button--primary:hover,
.rs-article__button--primary:focus-visible {
  background: #eaf5fb;
}

.rs-article__sources {
  color: var(--rs-muted);
  font-size: 14px;
  line-height: 1.55;
  padding: 34px 0 8px;
}

.rs-article__sources h3 {
  font-size: 22px;
}

.rs-article__sources ol {
  padding-left: 22px;
}

.rs-article__sources li {
  margin-bottom: 9px;
  padding-left: 4px;
}

@media (max-width: 960px) {
  .rs-article__hero,
  .rs-article__example,
  .rs-article__media-split {
    grid-template-columns: 1fr;
  }

  .rs-article__hero-media {
    min-height: 360px;
  }

  .rs-article__cards--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rs-article__example-data {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rs-article__photo {
    margin-top: 10px;
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .rs-article {
    font-size: 16px;
    line-height: 1.64;
  }

  .rs-article__hero {
    border-radius: 18px;
    padding: 22px;
  }

  .rs-article__hero-media {
    min-height: 240px;
  }

  .rs-article__facts,
  .rs-article__cards--three,
  .rs-article__split,
  .rs-article__check-grid,
  .rs-article__example-data {
    grid-template-columns: 1fr;
  }

  .rs-article__fact {
    border-left: 0;
    border-top: 1px solid rgba(7, 90, 168, 0.14);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(118px, 0.8fr) 1fr;
    padding: 12px 0;
  }

  .rs-article__fact--first {
    border-top: 0;
  }

  .rs-article__answer {
    grid-template-columns: 1fr;
  }

  .rs-article__answer-number {
    font-size: clamp(54px, 15vw, 72px) !important;
    min-height: 96px;
  }

  .rs-article__nav {
    flex-wrap: nowrap;
    margin-inline: -4px;
    overflow-x: auto;
    padding: 2px 4px 9px;
    scrollbar-width: thin;
  }

  .rs-article__nav a {
    white-space: nowrap;
  }

  .rs-article__formula {
    align-items: center;
    flex-direction: column;
    gap: 3px;
  }

  .rs-article__cta {
    grid-template-columns: 1fr;
  }

  .rs-article__actions {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .rs-article__hero-media {
    min-height: 205px;
  }

  .rs-article__section {
    padding: 20px 0;
  }

  .rs-article__note,
  .rs-article__warning,
  .rs-article__callout,
  .rs-article__card,
  .rs-article__split-item,
  .rs-article__check-item,
  .rs-article__faq-item {
    padding: 18px;
  }

  .rs-article__steps li {
    gap: 11px;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 15px;
  }

  .rs-article .rs-article__steps .rs-article__step-index {
    height: 40px;
    width: 40px;
  }
}

@media print {
  .rs-article {
    color: #111;
    font-size: 12pt;
  }

  .rs-article__nav,
  .rs-article__actions {
    display: none;
  }

  .rs-article__hero,
  .rs-article__cta,
  .rs-article__answer,
  .rs-article__example {
    background: #fff !important;
    border: 1px solid #bbb;
    color: #111 !important;
    box-shadow: none;
  }

  .rs-article__cta h3,
  .rs-article__cta p,
  .rs-article__answer p,
  .rs-article__example h4,
  .rs-article__example p {
    color: #111 !important;
  }

  .rs-article__card,
  .rs-article__section,
  .rs-article__figure,
  .rs-article__photo {
    break-inside: avoid;
  }
}
/* === RealSolar editorial landing: END === */
